import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Home from '@/components/Home'

Vue.use(Router);

const router =  new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },{
      path: '/hello',
      name: 'hello',
      component: HelloWorld
    }
  ],
});

export default router;
